omap_gpmc: add support for hw assisted BCH8
authorAndreas Bießmann <[email protected]>
Fri, 5 Apr 2013 04:55:21 +0000 (04:55 +0000)
committerTom Rini <[email protected]>
Mon, 8 Apr 2013 15:29:05 +0000 (11:29 -0400)
commit4a0930069b596ae27267a0e7cd44199e2270afa5
tree06242fd84a0a21e8316b6040ff530ed43a674116
parentda634ae3567cc2df435f8617dbc95db2d079bf11
omap_gpmc: add support for hw assisted BCH8

The kernel states:

---8<---
The OMAP3 GPMC hardware BCH engine computes remainder polynomials, it does not
provide automatic error location and correction: this step is implemented using
the BCH library.
--->8---

And we do so in u-boot.

This implementation uses the same layout for BCH8 but it is fix. The current
provided layout does only work with 64 Byte OOB.

Signed-off-by: Andreas Bießmann <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Ilya Yanok <[email protected]>
Cc: Scott Wood <[email protected]>
Cc: Mansoor Ahamed <[email protected]>
Cc: Thomas Weber <[email protected]>
doc/README.omap3
drivers/mtd/nand/omap_gpmc.c
lib/Makefile